package com.example.student1.service;


import com.example.student1.domain.Student_Login;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface Student_LoginService {

/*查询所有学生*/

    List<Student_Login> findAll();

    List<Student_Login> findByNameAndPassword(String name , String password);

    /*插入学生*/
    Student_Login insert(Student_Login student_login);
}
